# region Copyright
//===================================================================================
// TrackerRealm Corporation for .NET
//    
// WebPartLibraryControl.acsx.cs
//
//====================================================================================
// Copyright (C) 2004 TrackerRealm Corporation
// All rights reserved.
// THIS CODE AND INFORMATION IS THE PROPERTY OF TrackerRealm Corporation.
// IT MAY NOT BE COPIED FOR ANY PURPOSE.
//
// REMOVAL OF THIS NOTICE IS VIOLATION OF THE COPYRIGHT.
//====================================================================================
# endregion

using System;
using TrackerRealm.WebBase;

namespace TrackerRealm.Website
{
	public partial class WebPartLibraryControl : System.Web.UI.UserControl
	{
		# region Page_Load
		protected void Page_Load(object sender, EventArgs e)
		{
			this.Visible = TrWebPartChangeControl.PersonalizationIsVisible(this.Page);
			if (this.Visible)
				this.CatalogTable.BackColor = System.Drawing.Color.White;
			else
				this.CatalogTable.BackColor = System.Drawing.Color.Transparent;
		}
		# endregion
	}
}